package com.kkyy.recommendmusic.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kkyy.recommendmusic.dao.PlayListsDao;
import com.kkyy.recommendmusic.entity.PlayListsEntity;
import com.kkyy.recommendmusic.service.PlayListsService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlayListsServiceImpl extends ServiceImpl<PlayListsDao, PlayListsEntity> implements PlayListsService {
    @Override
    public List<PlayListsEntity> getPlayLists() {
        List<PlayListsEntity> playLists = this.baseMapper.selectList(new QueryWrapper<>());
        return playLists;
    }
}